package com.xdqzy.baseline.common.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel("下拉选项")
@Data
public class SimpleMark {

    @ApiModelProperty("下拉框选项的值")
    private String id;

    @ApiModelProperty("下拉框选项的显示文本")
    private String name;

    public SimpleMark() {

    }

    public SimpleMark(SysMarkModel markModel) {
        this.id = markModel.getMarkKey();
        this.name = markModel.getMarkValue();
    }
}
